package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.Sentence;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TalkMapper {
    List<Sentence> getTalkList(String username);
    List<String> getNameList();

    void insertSentence(Sentence sentence);

    int getLength(String username);

    int getLengthAdmin();
}
